package com.younion.util;

import java.util.Date;

public class UUIDUtil {

	public Long getUuid() {
		try {
			Thread.sleep(5);
		} catch (InterruptedException e) {
		}
		Long code = new Date().getTime();
		return code;
	}

	public static void main(String[] args) {
		UUIDUtil u = new UUIDUtil();
		for (int i = 0; i < 10; i++) {
			System.out.println(u.getUuid());
		}
	}
}
